import { defineStore } from "pinia";

export const useCattingStore = defineStore({
  id: "chatting",
  state: () => ({
    wxList: [
      {
        id: 1,
        img: "https://www.jq22.com/demo/chatmoban202008030025/assets/images/users/avatar-4.jpg",
        wxName: "给影子告白给影子告白给影子告白",
        wxstatus: 1,
        isActive: true
      },
      {
        id: 2,
        img: "https://www.jq22.com/demo/chatmoban202008030025/assets/images/users/avatar-1.jpg",
        wxName: "给影子告白",
        wxstatus: 2,
        isActive: false
      },
      {
        id: 3,
        img: "https://www.jq22.com/demo/chatmoban202008030025/assets/images/users/avatar-5.jpg",
        wxName: "给影子告白222",
        wxstatus: 1,
        isActive: false
      },
      {
        id: 4,
        img: "https://www.jq22.com/demo/chatmoban202008030025/assets/images/users/avatar-6.jpg",
        wxName: "给影子告白520",
        wxstatus: 1,
        isActive: false
      }
    ]
  }),
  getters: {
    getCurrentWx: state => state.wxList.filter()
  },
  actions: {}
});
